<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{=T.accepted_language or 'en'}}">
  <head>
    <title>{{=response.title or request.application}}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <link rel="stylesheet" href="{{=URL(request.application,'static','planet.css')}}" type="text/css">    
  </head>
  <body>


  <div align="center"> 
  <div id="planetHeader"> 
   <img src="{{=URL(request.application,'static','web2py_logo.png')}}" border="0" alt="PostgreSQL" / alt="web2py" />
  </div> 
  </div> 
 
<h1>..:: {{=response.title}} ::..</h1> 

{{for day in sorted(set([row.feed_entry.date for row in rows]),reverse=True):}}
  <div class="daygroup"> 
    <h2>{{=day}}</h2> 
    {{for feed in [row.feed for row in rows if row.feed_entry.date==day]:}} 
      <div class="channelgroup"> 
      <h3><a href="{{=feed.link}}" target="_blank" 
             title="{{=feed.name}}">{{=feed.author}}</a></h3>    
      {{for entry in [row.feed_entry for row in rows if row.feed_entry.date==day and row.feed_entry.feed_id==feed.id]:}}
        <div class="entrygroup" id="">
          <h4><a href="{{=entry.link}}">{{=entry.title}}</a></h4> 
          <div class="entry"> 
           <div class="content">{{=XML(entry.description)}}</div>
          </div>
        </div>
      {{pass}}
      </div>
    {{pass}}
  </div>
{{pass}}       
 
 
<div class="sidebar"> 
<!--img src="{{=URL(request.application,'static','planet/logo.png')}}" alt=""--> 
 
<h2>{{=T("Subscriptions")}}</h2> 
<ul> 
{{for feed in sorted([feed for feed in feeds],key=lambda f: f.author):}}
  <li> 
    <a href="{{=feed.url}}" title="subscribe" target="_blank"><img src="{{=URL(request.application,'static','planet/feed_icon_10x10.png')}}" alt="{{=feed.url}}"></a> <a class="message" title="{{=feed.name}}" href="{{=feed.link}}">{{=feed.author}}</a> 
  </li> 
{{pass}}
</ul> 
 
<p> 
<h2>{{=T("Contact")}}:</h2><br>
{{=T("To add your blog or sent us a comment write to")}}:<br>
<a href="mailto:{{=response.author}}">{{=response.author}}</a> 
<br/>
<h2>{{=T("RSS2 Feed")}}:</h2><br> 
<ul> 
  <li> 
    <a href="{{=URL(r=request,c="default",f="rss")}}" title="subscribe" target="_blank"><img src="{{=URL(request.application,'static','planet/feed_icon_10x10.png')}}" alt="{{=URL(r=request,c="default",f="rss")}}"></a> <a class="message" title="RSS Feed" href="{{=URL(r=request,c="default",f="rss")}}">{{=T("All Feeds")}}</a> 
  </li> 
{{pass}}
</ul>
<p>
<strong>{{=T("Generated on")}}:</strong><br> 
{{=now}}<br> 
<p>
{{=T("Powered by")}}:<br> 
<a href="http://www.web2py.com.ar/"><img src="{{=URL(r=request,c="static",f="web2py.png")}}" alt="web2py" border="0"></a> 
</p> 
 
 

  </div>
  </body>
</html>
